



/**
 * Authority domain class.
 */
class Role {

  static final String USER = 'ROLE_USER'
  static final String ADMIN = 'ROLE_ADMIN'
	static hasMany = [people: User]

	/** description */
	String description
	/** ROLE String */
	String authority = 'ROLE_'

	static constraints = {
		authority(blank: false)
		description()
	}

  public String toString() {
    return description
  }
}
